<template>
    <div>
        <el-card>
            <h3>套餐设置</h3>
        </el-card>

        <AdminVue v-if="this.DLrole==='admin'"></AdminVue>
        <UsersVue v-if="this.DLrole!=='admin'"></UsersVue>

    </div>
</template>

<script>
import Cookies from 'js-cookie'
import UsersVue from './components/user.vue'
import AdminVue from './components/admin.vue'
export default {
    components: {
            AdminVue,
            UsersVue
        },
    data() {
        

        return {
            DLrole:''

        };
    },
    created() {
        this.DLrole = Cookies.get('shortChainRole')
    },
    methods: {


    },
};
</script>

<style lang="scss" scoped></style>